﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopWlbSellerSubscription : BaseObject
    {
        //begin
        public TopWlbSellerSubscription(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Id;
        [Size(SizeAttribute.Unlimited)]
        public string Id
        {
            get
            {
                return _Id;
            }
            set
            {
                SetPropertyValue("Id", ref _Id, value);
            }
        }
        private string _SubscriberUserId;
        [Size(SizeAttribute.Unlimited)]
        public string SubscriberUserId
        {
            get
            {
                return _SubscriberUserId;
            }
            set
            {
                SetPropertyValue("SubscriberUserId", ref _SubscriberUserId, value);
            }
        }
        private string _SubscriberUserNick;
        [Size(SizeAttribute.Unlimited)]
        public string SubscriberUserNick
        {
            get
            {
                return _SubscriberUserNick;
            }
            set
            {
                SetPropertyValue("SubscriberUserNick", ref _SubscriberUserNick, value);
            }
        }
        private string _ProviderUserId;
        [Size(SizeAttribute.Unlimited)]
        public string ProviderUserId
        {
            get
            {
                return _ProviderUserId;
            }
            set
            {
                SetPropertyValue("ProviderUserId", ref _ProviderUserId, value);
            }
        }
        private string _ServiceId;
        [Size(SizeAttribute.Unlimited)]
        public string ServiceId
        {
            get
            {
                return _ServiceId;
            }
            set
            {
                SetPropertyValue("ServiceId", ref _ServiceId, value);
            }
        }
        private DateTime _StartDate;
        public DateTime StartDate
        {
            get
            {
                return _StartDate;
            }
            set
            {
                SetPropertyValue("StartDate", ref _StartDate, value);
            }
        }
        private DateTime _EndDate;
        public DateTime EndDate
        {
            get
            {
                return _EndDate;
            }
            set
            {
                SetPropertyValue("EndDate", ref _EndDate, value);
            }
        }
        private string _ServiceCode;
        [Size(SizeAttribute.Unlimited)]
        public string ServiceCode
        {
            get
            {
                return _ServiceCode;
            }
            set
            {
                SetPropertyValue("ServiceCode", ref _ServiceCode, value);
            }
        }
        private string _ServiceName;
        [Size(SizeAttribute.Unlimited)]
        public string ServiceName
        {
            get
            {
                return _ServiceName;
            }
            set
            {
                SetPropertyValue("ServiceName", ref _ServiceName, value);
            }
        }
        private string _ServiceType;
        [Size(SizeAttribute.Unlimited)]
        public string ServiceType
        {
            get
            {
                return _ServiceType;
            }
            set
            {
                SetPropertyValue("ServiceType", ref _ServiceType, value);
            }
        }
        private string _ParentId;
        [Size(SizeAttribute.Unlimited)]
        public string ParentId
        {
            get
            {
                return _ParentId;
            }
            set
            {
                SetPropertyValue("ParentId", ref _ParentId, value);
            }
        }
        private string _Status;
        [Size(SizeAttribute.Unlimited)]
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private DateTime _GmtCreate;
        public DateTime GmtCreate
        {
            get
            {
                return _GmtCreate;
            }
            set
            {
                SetPropertyValue("GmtCreate", ref _GmtCreate, value);
            }
        }
        private DateTime _GmtModified;
        public DateTime GmtModified
        {
            get
            {
                return _GmtModified;
            }
            set
            {
                SetPropertyValue("GmtModified", ref _GmtModified, value);
            }
        }
        private string _Remark;
        [Size(SizeAttribute.Unlimited)]
        public string Remark
        {
            get
            {
                return _Remark;
            }
            set
            {
                SetPropertyValue("Remark", ref _Remark, value);
            }
        }
        private TopWlbPartnerAddress _WlbPartnerAddress;
        public TopWlbPartnerAddress WlbPartnerAddress
        {
            get
            {
                return _WlbPartnerAddress;
            }
            set
            {
                SetPropertyValue("WlbPartnerAddress", ref _WlbPartnerAddress, value);
            }
        }
        private TopWlbPartnerContact _WlbPartnerContact;
        public TopWlbPartnerContact WlbPartnerContact
        {
            get
            {
                return _WlbPartnerContact;
            }
            set
            {
                SetPropertyValue("WlbPartnerContact", ref _WlbPartnerContact, value);
            }
        }
        //end
    }
}
